/**
 * com.dingjian.meal.controller.MealPersonEditController.java
 * 2012-7-2
 */
package com.dingjian.meal.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.dingjian.base.service.BaseService;
import com.dingjian.framework.base.controller.EditController;
import com.dingjian.meal.model.MealPerson;
import com.dingjian.meal.service.MealPersonService;

/**
 * 人员编辑
 * @author FengMy
 * @since 2012-7-2下午04:24:28
 */
@Controller
@RequestMapping(value="meal/mealPerson/*")
public class MealPersonEditController extends EditController {
	@Resource(name="mealPersonService")
	private MealPersonService mealPersonService;
	
	@Override
	protected Class<MealPerson> getSubmitClass() {
		return MealPerson.class;
	}

	@Override
	protected BaseService<MealPerson> getService() {
		return mealPersonService;
	}

}
